package com.ay7.utils;

/**
 * 数学工具类
 * Created by wenjul
 * on 18/3/27 0027 19:19
 */
public class MathUtil {

    private static final Double Money_Range = 0.01;

    public static Boolean equals(Double num1, Double num2) {
        Double result = Math.abs(num1 - num2);
        if (result < Money_Range) {
            return true;
        }
        return false;

    }
}
